AsanaPlugins\WooCommerce\ProductBundles\ProductBundle D

Total Complexity 158
Dependencies 3
Dependents 1
Total lines 632
Lines of code 360
Logical lines of code 175
Comment lines 162
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
get_item_default_data()
C
41 26 44
get_default_products_price()
B
38 23 62
is_in_stock()
B
44 24 39
get_item_products()
A
46 10 38
get_initial_data()
S
49 7 28
add_to_cart_url()
S
59 8 12
get_sale_price()
S
60 7 13
get_regular_price()
S
60 7 13
get_price()
S
60 7 13
add_to_cart_text()
S
72 4 4
has_price()
S
69 4 6
is_purchasable()
S
76 3 3
is_fixed_price()
S
71 2 6
__construct()
S
71 2 6
get_bundle_title()
S
79 1 3
set_include_parent_price()
S
80 1 3
get_items()
S
79 1 3
get_default_products()
S
79 1 3
get_individual_theme()
S
79 1 3
get_theme()
S
79 1 3
get_theme_size()
S
79 1 3
set_is_cart_item()
S
80 1 3
set_bundle_title()
S
80 1 3
set_custom_display_price()
S
80 1 3
set_shipping_fee_calculation()
S
80 1 3
set_fixed_price()
S
80 1 3
get_custom_display_price()
S
79 1 3
set_theme_size()
S
80 1 3
set_theme()
S
80 1 3
set_individual_theme()
S
80 1 3
set_default_products()
S
80 1 3
set_items()
S
80 1 3
get_is_cart_item()
S
82 1 3
get_type()
S
82 1 3
get_fixed_price()
S
79 1 3
get_include_parent_price()
S
79 1 3
get_shipping_fee_calculation()
S
79 1 3
supports_ajax_add_to_cart()
S
76 1 4